import request from "@/utils/request";

export function getCalculateSalary(recordId) {
  return request({
    url: `/hr/api/v1/attendanceDataTemps/newCalculateSalary/${recordId}`,
    method: "get"
  });
}

export function getQueryTemplateInfoPage(params) {
  return request({
    url: "/hr/api/v1/attendanceSallaryTemplateItems/queryTemplateInfoPage",
    method: "GET",
    params
  });
}

export function getCompanyAuthoritiesListAll(params) {
  return request({
    url: "/tax/api/v1/companyAuthorities/listAll",
    method: "GET",
    params
  });
}
